﻿using System;
using Newtonsoft.Json;

namespace IceDog.DNF.Program.Dapper.Red.Models
{
    public class Product
    {
        [JsonProperty("productId")]
        public int ProductId { get; set; }
        [JsonProperty("productName")]
        public string ProductName { get; set; }
        [JsonProperty("productDesc")]
        public string ProductDesc { get; set; }
        [JsonProperty("userID")]
        public int UserId { get; set; }
        [JsonProperty("createTime")]
        public DateTime CreateTime { get; set; }
        [JsonProperty("user")]
        public User User { get; set; }
    }
}
